Use MSDB;
go
sp_helpfile

ALTER DATABASE MSDB MODIFY FILE ( NAME = MSDBData , FILENAME = 'D:\Database File\MSDBData.mdf' )
ALTER DATABASE MSDB MODIFY FILE ( NAME = MSDBLog , FILENAME = 'I:\Database Logs\MSDBLog.ldf' )

MSDBLog
SELECT name, physical_name AS CurrentLocation, state_desc
FROM sys.master_files
WHERE database_id = DB_ID(N'MSDB');

SELECT is_broker_enabled 
FROM sys.databases
WHERE name = N'msdb';
-- check Database Mail

